package com.yhsimon.mediator.smarthouse;

/**
 * @author： YHSimon
 * @date： 2021-10-19 09:51
 */
public abstract class Mediator {
    //  加入到集合
    public abstract void register(String colleagueName,Colleague colleague);
    //接收消息 具体的同事对象发出
    public abstract void getMessage(int stateChange,String colleagueName);

    public abstract void sendMessage();

}
